//
//  MoviePlayView.h
//  Common
//
//  Created by xiong qi on 13-4-18.
//  Copyright (c) 2013年 xiong qi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>

@interface MoviePlayView : UIView{
    
    UIImageView * imageview;
    MPMoviePlayerController *moviePlayer;
    UIButton * startBtn;
    NSTimeInterval currentinterval;
    BOOL    playing;
    NSString * resourcePath;
}

@property(nonatomic,copy)NSString * resourcePath;

-(void)SetPlayPath:(NSString *)path;
-(UIImage *)GetMovieImage:(NSTimeInterval)interval;
-(UIImage *)GetCurrentMovieImage;
-(void)Play;
-(void)Pause;
-(void)Stop;
@end
